@layout("/common/_container.html"){

<div class="ibox float-e-margins">
        <!--<span style="visibility:visible;" class="layui-breadcrumb" lay-separator=">">-->
                <!--<a>导航位置：</a>-->
                <!--<a style="color: #0d8ddb">广告添加 > </a>-->
                <!--<a href="${ctxPath}/ggmanger/">广告管理</a>-->
        <!--</span>-->
    <blockquote class="layui-elem-quote layui-text">
        <a>导航位置：</a>
        <a style="color: #0d8ddb">广告添加 > </a>
        <a href="${ctxPath}/ggmanger/">广告管理</a>
    </blockquote>

    <div class="ibox-content">
        <!--<div class="form-horizontal">-->

        <!--<input type="hidden" id="id" value="">-->

        <br/>
        <!--<button class="layui-btn" data-type="tomanger">广告管理</button>-->
        <form id="formDemo" class="layui-form">

            <div class="layui-form-item">
                <label class="layui-form-label" style="width: 100px;">标题</label>
                <div class="layui-input-inline">
                    <input type="text" name="title" lay-verify="required" lay-verify="title" autocomplete="off" placeholder="请输入标题"
                           class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"  style="width: 100px;">广告名称</label>
                <div class="layui-input-inline">
                    <input type="text" name="name" lay-verify="required" lay-reqtext="广告名称是必填项，岂能为空？" placeholder="请输入"
                           autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">

                <label class="layui-form-label" style="width: 100px;">广告分类</label>
                <div class="layui-input-inline">
                    <select id="categoryId" name="categoryId" lay-verify="required" lay-reqtext="广告分类是必填项，岂能为空？" lay-filter="aihao">

                    </select>
                </div>
            </div>
             <div class="layui-form-item">

                 <div class="layui-inline">
                     <label class="layui-form-label" style="width: 100px;">点击数</label>
                     <div class="layui-input-inline">
                         <input type="number" name="number"   autocomplete="off" class="layui-input">
                     </div>
                 </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label" style="width: 100px;">广告类型</label>
                <div class="layui-input-inline">
                    <select name="typename" lay-filter="aihao"  lay-verify="required" lay-reqtext="广告类型是必填项，岂能为空？" >
                        <option value="">不限广告类型</option>
                        <option value="横幅广告">横幅广告</option>
                        <option value="消息流广告">消息流广告</option>
                        <option value="html广告">html广告</option>
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label" style="width: 100px;">开始时间</label>
                    <div class="layui-input-inline">
                        <input class="form-control" id="birthday" name="starttime" lay-reqtext="开始时间是必填项，岂能为空？"  lay-verify="datetime" type="date" onclick="laydate({istime: false, format: 'YYYY-MM-DD'})">
                    </div>

                </div>
                <div class="layui-inline">
                    <label class="layui-form-label" style="width: 100px;">过期时间</label>
                    <div class="layui-input-inline">
                        <input class="form-control" name="stoptime" lay-reqtext="结束时间是必填项，岂能为空？"  lay-verify="datetime" type="date" onclick="laydate({istime: false, format: 'YYYY-MM-DD'})">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label" style="width: 100px;">应用详情页</label>
                    <div class="layui-input-inline">
                        <input type="text" name="details"   autocomplete="off" class="layui-input">
                    </div>
                </div>

            </div>
            <div  class="layui-form-item">
                <div class="layui-inline">
                    <!--<label class="layui-form-label" style="width: 100px;">广告图片</label>-->
                    <!--<div class="layui-input-inline">-->
                    <!--<input type="text" name="img" lay-verify="required" autocomplete="off" class="layui-input">-->
                    <#file id="img" name="标题图片" underline="true" />
                    <div id="logo-parent">
                        <div id="logo-bar"></div>
                    </div>
                    <!--</div>-->
                </div>
            </div>
            <div class="layui-form-item">
                    <label class="layui-form-label">注释</label>
                    <div class="layui-input-block">
                        <!--<input type="text" name="desc" lay-verify="required" autocomplete="off" class="layui-input">-->
                        <textarea name="desc" placeholder="请输入备注" class="layui-textarea"></textarea>
                    </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <!--<button data-type="addformSubmit" class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>-->
                    <button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
            </div>
        </form>
    </div>
</div>
<script type="application/javascript">
    
    function toGgManger() {
        alert("555555")
    }
</script>

<link rel="stylesheet" href="${ctxPath}/static/js/plugins/layui/css/layui.css">
<style>

</style>
<script src="${ctxPath}/static/modular/app/ggmanger/ggmanger_info_add.js"></script>
<!--<script src="${ctxPath}/static/modular/app/ggmanger/ggmanger.js"></script>-->
@}
